Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(checks/no-focusable-disable): don't count non-disableable elements as disabled #3393

Merged
merged 49 commits into from
Feb 22, 2022

Conversation

dan-tripp
Copy link
Contributor

focusDisabled() now checks the element name to see if "disabled" attribute is valid on that element.

Closes issue #3315

dan-tripp and others added 30 commits August 19, 2021 21:17
Make `internal-link-present-evaluate` work with virtualNode rather than actualNode.

Closes issue dequelabs#2466
This reverts commit 428e015, reversing
changes made to 9f996bc.
This reverts commit 9f996bc.
@dan-tripp dan-tripp requested a review from a team as a code owner February 21, 2022 16:04
Copy link
Contributor

@straker straker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking on the pr. Just have 1 suggestion, but otherwise it looks good.

lib/commons/dom/focus-disabled.js Outdated Show resolved Hide resolved
@dan-tripp
Copy link
Contributor Author

Right on. Done.

@straker
Copy link
Contributor

straker commented Feb 22, 2022

reviewed for security

@straker straker changed the title fix(commons/dom): focusDisabled() behavior fix(checks/no-focusable-disable): don't count non-disableable elements as disabled Feb 22, 2022
@straker straker merged commit bb8b5ca into dequelabs:develop Feb 22, 2022
@dan-tripp
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants